#include <bits/stdc++.h>

using namespace std;

int t, m, n;
const int N = 11;
int f[N][N];

int main()
{
    cin >> t;
    while (t--)
    {
        cin >> m >> n;
        f[0][0] = {1};
        for (int i = 0; i <)
    }
    return 0;
}